/*
  ==============================================================================

  This is an automatically generated file created by the Jucer!

  Creation date:  19 Nov 2009 9:51:26 pm

  Be careful when adding custom code to these files, as only the code within
  the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
  and re-saved.

  Jucer version: 1.12

  ------------------------------------------------------------------------------

  The Jucer is part of the JUCE library - "Jules' Utility Class Extensions"
  Copyright 2004-6 by Raw Material Software ltd.

  ==============================================================================
*/

#ifndef __JUCER_HEADER_XMONEDITOR_XMONEDITOR_99FEF5AE__
#define __JUCER_HEADER_XMONEDITOR_XMONEDITOR_99FEF5AE__

//[Headers]     -- You can add your own extra header files here --
#include "Includes.h"
//[/Headers]

#include "LCDHex.h"


//==============================================================================
/**
                                                                    //[Comments]
    An auto-generated component, created by the Jucer.

    Describe your class and how it works here!
                                                                    //[/Comments]
*/
class XmonEditor  : public EdoControllerEditor
{
public:
    //==============================================================================
    XmonEditor (AudioProcessor *_xmon);
    ~XmonEditor();

    //==============================================================================
    //[UserMethods]     -- You can add your own custom methods in this section.
	void processBlock (MidiBuffer& midiMessages);
	const Colour getColourForMidiMessage (const MidiMessage &m);
    //[/UserMethods]

    void paint (Graphics& g);
    void resized();

    // Binary resources:
    static const char* more_blocks_and_lights_by_bmh1_png;
    static const int more_blocks_and_lights_by_bmh1_pngSize;

    //==============================================================================
    juce_UseDebuggingNewOperator

private:
    //[UserVariables]   -- You can add your own custom variables in this section.
	AudioProcessor *xmon;
    //[/UserVariables]

    //==============================================================================
    TextEditor* hexHistory;
    LCDHex* hexCurrent;

    //==============================================================================
    // (prevent copy constructor and operator= being generated..)
    XmonEditor (const XmonEditor&);
    const XmonEditor& operator= (const XmonEditor&);
};


#endif   // __JUCER_HEADER_XMONEDITOR_XMONEDITOR_99FEF5AE__
